module.exports = {
	devServer: {
		
		hotOnly:true,
		proxy: {
			'/api': {
				target: 'http://localhost:8888',
				changeOrigin: true, //允许跨域
				ws:true,
				pathRewrite: {
					'^/api': ''
					//把/api替换成""
				}
			}
		},
		disableHostCheck: true,
	},
	runtimeCompiler: true,

}
